#include <iostream>
#include <stdio.h>
#include <cstring>
using namespace std;
char s[1003];
int main() {
	for (int i=0; i<1000; ++i)s[i]='F';
	s[1000]='\0';
	int n;
	cin>>n;
	for (int i=0; i<n; ++i) {
		printf("%s\n", s);
		s[i]-=1;
		s[i+1]+=31;
	}
	return 0;
}
